const getToday = () => {
  const date = new Date()
  const m = date.getMonth()
  const d = date.getDate()
  const month = m + 1 < 10 ? `0${m + 1}` : m + 1
  const day = d < 10 ? `0${d}` : d
  const today = `${date.getFullYear()}-${month}-${day}`
  return today
}

const today = getToday()

module.exports = {
  dir: '2021-04-22', //or tody or eg: '2021-04-12'
  entry: 'index',
}
